package 原型模式.复制简历;

/**
 *
 */
public class StuResume extends Resume {

    private String name;

    private String school;

    public StuResume(String name, String school) {
        this.name = name;
        this.school = school;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    @Override
    void show() {
        System.out.println("name:" + name + ",school:" + school);
    }
}
